package com.yanqu.road.entity.activity.cookboy;

import java.util.List;


/*菜桌上最总合成的菜品*/
public class CookBoyFinishFood {

	private int foodId;//食材id

	private int index;//当前活动第几个合成的食材,当id来用

	private int level;

	private int fraction;

	//是否参赛了
	private int status;

	//参赛的场次
	private int no;

	//菜品排名
	private int rank;

	//菜品合成时间
	private long time;

	//合成历史
	private String process;

	public int getFoodId() {
		return foodId;
	}

	public void setFoodId(int foodId) {
		this.foodId = foodId;
	}

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public int getFraction() {
		return fraction;
	}

	public void setFraction(int fraction) {
		this.fraction = fraction;
	}

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getNo() {
		return no;
	}

	public void setNo(int no) {
		this.no = no;
	}

	public int getRank() {
		return rank;
	}

	public void setRank(int rank) {
		this.rank = rank;
	}

	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}

	public String getProcess() {
		return process;
	}

	public void setProcess(String process) {
		this.process = process;
	}

	//记录合成记录
	public void makeProcess(List<CookBoyFood> foodList){
		/*String hecheng = "";
		for(CookBoyFood temp : foodList){
			if("".equals(temp.getProcess())){
				temp.setProcess("(" + temp.getPos() + "=" +temp.getLevel() + "=" + temp.getFraction() + ";" + ")");
			}
			hecheng += temp.getProcess();
		}
		this.setProcess("(" + hecheng + ")");*/
	}
}
